package com.oncliedisk.administrator.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;

import com.oncliedisk.administrator.Base.BaseActivity;
import com.oncliedisk.administrator.DB.Dao;
import com.oncliedisk.administrator.content.FileConfig;


/**
 * Created by Administrator on 2015/12/4.
 */
public class BtActivity extends BaseActivity implements View.OnClickListener, AdapterView.OnItemLongClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setTitle("BT种子");
        initAdapter(Dao.getInstance(getActivity()).getAllFile("mimeType=? or mimeType=?", new String[]{FileConfig.TYPE_BT}));
        listView.setAdapter(adapter);
    }




}
